import request from '@/utils/request'

export function deleteCooperation(id) {
  return request({
    url: '/Cooperation/',
    method: 'delete',
    params: {
      id: id
    }
  })
}

export function getAllCooperation() {
  return request({
    url: '/Cooperation/all',
    method: 'get'
  })
}

export function searchAgentAudit(search) {
  return request({
    url: '/AgentAudit/mohuSearch',
    method: 'get',
    params: {
      str: search.realName
    }
  })
}
